package com.programmingeyeclient.user.service;


import com.programmingeyeclient.user.common.Result;
import com.programmingeyeclient.user.entity.EduStudent;

public interface EduStudentService {

    /**
     * 登录--根据手机号
     * @return
     */
    public Result findByUserName(EduStudent eduStudent);

    /**
     * 注册--手机号、密码
     * @param eduStudent
     * @return
     */
    public Result enroll(EduStudent eduStudent);

    /**
     * 修改
     * @param eduStudent
     * @return
     */
    Boolean getUpdate(EduStudent eduStudent);

    /**
     * 根据id查询信息
     * @param id 用户id
     * @return EduStudent
     */
    EduStudent getStudentid(Integer id);
}
